package com.jzz;

import com.jzz.algorithm.Algorithm;
import com.jzz.exec.IExecutor;

import java.io.File;

public class Options {
    private Algorithm algorithm;
    private Boolean decryption = false;
    private File keyFile;
    private byte[] key;
    private File outFile;
    private File inFile;
    private byte[] data;
    private IExecutor executor;
    private Boolean inputB64 = false;
    private Boolean outputB64 = false;

    public Options() {

    }

    public Algorithm getAlgorithm() {
        return algorithm;
    }

    public void setAlgorithm(Algorithm algorithm) {
        this.algorithm = algorithm;
    }

    public Boolean getDecryption() {
        return decryption;
    }

    public void setDecryption(Boolean decryption) {
        this.decryption = decryption;
    }

    public File getKeyFile() {
        return keyFile;
    }

    public void setKeyFile(File keyFile) {
        this.keyFile = keyFile;
    }

    public byte[] getKey() {
        return key;
    }

    public void setKey(byte[] key) {
        this.key = key;
    }

    public File getOutFile() {
        return outFile;
    }

    public void setOutFile(File outFile) {
        this.outFile = outFile;
    }

    public File getInFile() {
        return inFile;
    }

    public void setInFile(File inFile) {
        this.inFile = inFile;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public IExecutor getExecutor() {
        return executor;
    }

    public void setExecutor(IExecutor executor) {
        this.executor = executor;
    }

    public Boolean getInputB64() {
        return inputB64;
    }

    public void setInputB64(Boolean inputB64) {
        this.inputB64 = inputB64;
    }

    public Boolean getOutputB64() {
        return outputB64;
    }

    public void setOutputB64(Boolean outputB64) {
        this.outputB64 = outputB64;
    }
}
